<!DOCTYPE html>
<html>
	<meta charset="utf-8">

	<head th:include="include :: header"></head>

	<body>

		<div class="ibox-content">
			<form class="form-horizontal m-t" id="signupForm">
				<input id="id" name="id" th:value="${notify.id}" type="hidden">
				<input id="Ttype" name="Ttype" th:value="${notify.type}" type="hidden">
				<div class="form-group">
					<label class="col-sm-3 control-label">类型：</label>
					<div class="col-sm-8">
<!-- 						<select data-placeholder="--选择类别--" name="type" id="type" class="form-control chosen-select" tabindex="2"> -->
<!-- 							<option value="">-- 选择类别 --</option> -->
<!-- 							<option th:each="oaNotifyType : ${oaNotifyTypes}" th:value="${oaNotifyType.value}" th:text="${oaNotifyType.name}" th:if="${oaNotifyType.remarks ==checked}" th:selected="selected"></option> -->
<!-- 						</select> -->
						<sys:dict type="oa_notify_type" id="type" name="type" class="form-control chosen-select" th:value="${notify.type}"    firstValue="" firstText="请选择类别"  />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">标题：</label>
					<div class="col-sm-8">
						<input id="title" name="title" th:value="${notify.title}" class="form-control" type="text">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">内容：</label>
					<div class="col-sm-8">
						<textarea id="content" name="content" th:text="${notify.content}" rows="9" class="form-control"></textarea>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">接收人：</label>
					<div class="col-sm-8">
						<input id="userIds" AUTOCOMPLETE="off" name="userIds" class="hidden" th:value="${notify.userIds}">
						<input id="userNames" AUTOCOMPLETE="off" name="userNames" class="form-control" type="text" th:value="${notify.userNames}"
							   onclick="openUser()" readonly="readonly" placeholder="接收人">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">发布状态：</label>
					<div class="col-sm-8">
						<sys:dict type="publish_status" id="status" AUTOCOMPLETE="off" name="status" class="form-control"
								  th:value="${notify.status}" firstValue="" firstText="请选择发布状态" />
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">备注信息：</label>
					<div class="col-sm-8">
						<input id="remarks" name="remarks" th:value="${notify.remarks}" class="form-control" type="text">
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-8 col-sm-offset-3">
						<button type="submit" class="btn btn-primary">提交</button>
					</div>
				</div>
			</form>
		</div>

		<div th:include="include::footer"></div>
		<script type="text/javascript" src="js/appjs/oa/notify/edit.js"></script>
	</body>

</html>
